package com.hadwinling.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.hadwinling.entity.ShikeTime;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Classname ShikeTimeMapper
 * @Description TODO
 * @Date 2021/7/3 16:02
 * @Created by ${hadwinling}
 */
@Mapper
public interface ShikeTimeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShikeTime record);

    int insertSelective(ShikeTime record);

    ShikeTime selectByPrimaryKey(Integer id);

    List<ShikeTime> selectAllByTimeidAndIndicatorid(@Param("timeid") Integer timeid, @Param("indicatorid") Integer indicatorid);

    List<ShikeTime> selectAllByBurnidAndIndicatorid(@Param("burnid") Integer burnid, @Param("indicatorid") Integer indicatorid);

    List<ShikeTime> selectAllByBurnidBetweenAndBurnidAndIndicatorid(@Param("minBurnid") Integer minBurnid, @Param("maxBurnid") Integer maxBurnid, @Param("indicatorid") Integer indicatorid);

    List<ShikeTime> selectAllByBurnidAndTimeid(@Param("burnid")Integer burnid,@Param("timeid")Integer timeid);

    List<ShikeTime> selectAllByBurnidAndTimeidAndIndicatorid(@Param("burnid")Integer burnid,@Param("timeid")Integer timeid,@Param("indicatorid")Integer indicatorid);

    int updateByPrimaryKeySelective(ShikeTime record);

    int updateByPrimaryKey(ShikeTime record);
}